package cpt202.project.service;
import cpt202.project.entity.Record;

public interface BookService {
    Integer add(String email, String bookname);

    boolean delete(Integer id);

    //用户发起切换账本的请求时，返回在该账本中的所有record
    Record[] switchBook(Integer bookId);

}
